﻿<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [
  <!ENTITY nbsp "&#x00A0;">
]>
<xsl:stylesheet version="1.0"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:asp="http://schemas.microsoft.com/AspNet/WebControls"
        xmlns:lsc="http://land.scape"
        xmlns:lsc.ext="urn:landscape"
        exclude-result-prefixes="xsl asp lsc lsc.ext">

  <xsl:param name="layoutParam1"/>
  <xsl:param name="layoutParam2"/>
  <xsl:param name="layoutParam3"/>

  <xsl:template match="/">
    <html>
      <head>
        <title>Landscape Presentation Framework - Nested Templates with parameters</title>
      </head>

      <body>
        <form id="Form1" method="post" runat="server">
          <!-- This placeholder will be replaced with the actual content from ~/Templates/NestedTemplates.xslt -->
          <lsc:pholder/>
          <h3>Parameters passed by child template</h3>
          <p>layoutParam1: <xsl:value-of select="$layoutParam1"/> </p>
          <p>layoutParam2: <xsl:value-of select="$layoutParam2"/></p>
          <p>
            layoutParam3 (html):<br/> <xsl:value-of select="$layoutParam3" disable-output-escaping="yes"/>
          </p>
        </form>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>